Pod::Spec.new do |s|
	#验证方法1：pod lib lint CQCellAndHeaderCollect.podspec --sources='https://github.com/CocoaPods/Specs.git,https://gitee.com/dvlproad/dvlproadSpecs' --allow-warnings --use-libraries --verbose
  #验证方法2：pod lib lint CQCellAndHeaderCollect.podspec --sources=master,dvlproad --allow-warnings --use-libraries --verbose
  #提交方法： pod repo push dvlproad CQCellAndHeaderCollect.podspec --sources=master,dvlproad --allow-warnings --use-libraries --verbose
  s.name         = "CQCellAndHeaderCollect"
  s.version      = "0.2.1"
  s.summary      = "Cell和Header的收集（含UITableView和UICollectionView 的 Cell 和 Header）"
  s.homepage     = "https://gitee.com/dvlproad/UIKit-List-iOS.git"

  #s.license      = "MIT"
  s.license      = {
    :type => 'Copyright',
    :text => <<-LICENSE
              © 2008-2020 dvlproad. All rights reserved.
    LICENSE
  }

  s.author   = { "dvlproad" => "" }
  

  s.description  = <<-DESC
 				           -、TableViewCell

                   A longer description of CQCellAndHeaderCollect in Markdown format.

                   * Think: Why did you write this? What is the focus? What does it do?
                   * CocoaPods will be using this to generate tags, and improve search results.
                   * Try to keep it short, snappy and to the point.
                   * Finally, don't worry about the indent, CocoaPods strips it!
                   DESC
  

  s.platform     = :ios, "9.0"
 
  s.source       = { :git => "https://gitee.com/dvlproad/UIKit-List-iOS.git", :tag => "CQCellAndHeaderCollect_0.2.1" }
  #s.source_files  = "CJDemoCommon/*.{h,m}"
  #s.source_files = "CJChat/TestOSChinaPod.{h,m}"

  s.frameworks = "UIKit"

  s.requires_arc = true

  # s.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" }
  # s.dependency "JSONKit", "~> 1.4"

  

  # 都需要依赖的库，就写在这里了
  s.dependency "Masonry"
  s.dependency "CJBaseUIKit/UIColor"
  s.dependency "CJBaseHelper/NSObjectCJHelper"
  s.dependency 'CJContainer' # 需要用到 CQHorizontalImageLabelView

  s.subspec 'TableViewCell' do |ss|
    ss.source_files = "CQCellAndHeaderCollect/TableViewCell/**/*.{h,m}"
    ss.resource_bundle = {
      'CQCellBundle' => ['CQCellAndHeaderCollect/TableViewCell/**/*.{xcassets,json}', 'CQCellAndHeaderCollect/TableViewCell/**/*.{png,jpg}'] # CQCellBundle 为生成boudle的名称，可以随便起，但要记住，库里要用
    }
    ss.dependency 'CQImageKit' # 需要使用到 CQAvatarImageView
  end


  s.subspec 'TableViewSectionHeader' do |ss|
    ss.source_files = "CQCellAndHeaderCollect/TableViewSectionHeader/**/*.{h,m}"
  end

  # s.subspec 'CollectionViewCell' do |ss|
  #   ss.source_files = "CQCellAndHeaderCollect/CollectionViewCell/**/*.{h,m}"
  #   ss.dependency "Masonry"
  # end


end
